<%--
  Created by IntelliJ IDEA.
  User: wangchao
  Date: 2007-6-25
  Time: 21:08:52
  To change this template use File | Settings | File Templates.
--%>
<%@ include file="/common/taglib.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<br>

<div class="subtable nav" style="width: 98%">
    <a href="index.php">Discuz! Board</a> &raquo; 个人资料
</div>
<br>

<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td valign="top" align="right" width="200">


    <div class="spaceborder" style="width: 190px !important;width: 197px;">
        <table cellspacing="0" cellpadding="5" width="100%" align="center">
            <tr>
                <td style="line-height: 20px" colspan="2">
                    <center>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0"
                               style="table-layout: fixed; overflow: hidden">
                            <tr>
                                <td align="center">
                                    <div class="avatar" style="width:120px;">
                                        <IFRAME marginheight="0" marginwidth="0" frameborder="0"
                                                width="120" height="168" scrolling="NO"
                                                src="http://showlib.5d6d.com/showavatar.php?positionid=bbs&passport=herowangking_gmail&clubid=5d6d&groupid=5d6d&keycode=6b6ce0d3&floor=1&male=1&width=120"></IFRAME>
                                    </div>
                                </td>
                            </tr>
                        </table>
                        <span class="bold">${actionBean.user.nickname}</span>
                        <br>
                        积分: <span class="bold smalltxt">${actionBean.user.point}</span><br>
                        <%--等级: <span class="bold smalltxt">${actionBean.oldUser.roleId}</span> <br>--%>
                        <br>
                    </center>
                </td>
            </tr>

            <tr class="header">
                <td colspan="2"><span class="left">好友列表</span><span class="right"
                                                                    style="font-weight: normal;">&rsaquo;&nbsp;<a href="${ctx}/message/message.do?writeMessageForm&receiveUserId=${actionBean.user.id}">发消息</a>&nbsp;&nbsp;<a
                        href="${ctx}/controlPanel/friend.do?addFriend&friendId=${actionBean.user.id}">加为好友</a></span></td>
            </tr>

            <tr class="category">
                <td colspan="2">在线</td>
            </tr>
            <tr class="category">
                <td colspan="2">离线</td>
            </tr>
        </table>
    </div>
</td>
<td valign="top" style="padding-left:5px !important">
    <%--<form name="reg" method="post" action="memcp.php?action=profile"  onSubmit="return validate(this)">--%>
    <input type="hidden" name="formhash" value="a53322d3">

    <div class="spaceborder">
        <table cellspacing="0" cellpadding="5" align="center" width="100%">
            <tr>
                <td colspan="2" class="header">编辑个人资料</td>
            </tr>
            <!--<tr class="category">
            <td colspan="2">必填</td>
            </tr>-->
            <tr>
                <td class="altbg1"><span class="bold">用户名</span></td>
                <td class="altbg2">${actionBean.user.username}</td>
            </tr>

            <!--<tr>
            <td class="altbg1"><span class="bold">原密码</span></td>
            <td class="altbg2"><input type="password" name="oldpassword" size="25"> <span class="smalltxt">如不需要更改密码或Email或安全提问，此处请留空</span></td>
            </tr>-->


            <tr>
                <td class="altbg1"><span class="bold">昵称</span></td>
                <td class="altbg2">${actionBean.user.nickname}</td>
            </tr>

            <tr>
                <td class="altbg1"><span class="bold">油箱</span></td>
                <td class="altbg2">${actionBean.user.email}</td>
            </tr>

            <tr>
                <td colspan="2" class="singleborder">&nbsp;</td>
            </tr>
            <tr>
                <td class="altbg1" width="21%"><span class="bold">性别</span></td>
                <td class="altbg2">
                    ${actionBean.user.sex}
                </td>
            </tr>

            <tr>
                <td class="altbg1"><span class="bold">生日</span></td>
                <td class="altbg2">${actionBean.userProfile.birthDay}</td>
            </tr>

            <tr>
                <td class="altbg1" width="21%"><span class="bold">来自</span></td>
                <td class="altbg2">${actionBean.userProfile.address}</td>
            </tr>

            <tr>
                <td class="altbg1" width="21%"><span class="bold">主页</span></td>
                <td class="altbg2">${actionBean.userProfile.website}</td>
            </tr>

            <tr>
                <td class="altbg1" width="21%"><span class="bold">QQ</span></td>
                <td class="altbg2">${actionBean.userProfile.imQq}</td>
            </tr>

            <tr>
                <td class="altbg1" width="21%"><span class="bold">MSN</span></td>
                <td class="altbg2">${actionBean.userProfile.imMsn}</td>
            </tr>

            <tr>
                <td class="altbg1" valign="top" width="21%">自我介绍 <br><br>
                </td>
                <td class="altbg2">
                    <div id="biopreview"></div>
                    ${actionBean.userProfile.introduce}
                </td>
            </tr>
        </table>
    </div>
    <br>
</td>


</tr>
</table>